package com.suncaper.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class IndexController {

    @RequestMapping("/hello")
    public String test1() {
        return "hello";
    }

    @RequestMapping("/jhh")
    @ResponseBody
    public String jhh() {
        return "靳海含变帅变富";
    }
}
